<u># 配置 build.gradle 签名选项：</u> <i>flutter_app/android/app/build.gradle</i>
<b>def keystorePropertiesFile = rootProject.file("<s>key.properties</s>")</b>
<b>def keystoreProperties = new Properties()</b>
<b>if (keystorePropertiesFile.exists()) {keystoreProperties.load(new FileInputStream(keystorePropertiesFile))}</b>
<em>android</em>{
	<q>signingConfigs</q>{
		<b>release</b> {
			<b>keyAlias</b> <i>keystoreProperties</i>['<s>keyAlias</s>']
			<b>keyPassword</b> <i>keystoreProperties</i>['<s>keyPassword</s>']
			<b>storeFile</b> <q>file</q>(<i>keystoreProperties</i>['<s>storeFile</s>'])
			<b>storePassword</b> <i>keystoreProperties</i>['<s>storePassword</s>']
		}
	}
	<em>buildTypes</em> { 	<em>// 这个属性原来是有的，将 <i>debug</i> 替换为 <b>release</b></em>
		<em>release</em> {
			<em>// signingConfig signingConfigs.<em><s>debug</s>
			<i>signingConfig signingConfigs<i>.<s>release</s>
		}
	}
}